<template>
  <avue-form v-model="form"
             :option="option">
    <template #text-label="{}">
      <el-tooltip class="item"
                  effect="dark"
                  content="文字提示"
                  placement="top-start">
        <span>姓名</span>
      </el-tooltip>
    </template>
  </avue-form>
</template>

<script>
export default {
  data () {
    return {
      form: {
        text: ''
      },
      option: {
        labelWidth: 120,
        column: [{
          label: '姓名',
          prop: 'text',
          rules: [{
            required: true,
            message: "请输入姓名",
            trigger: "blur"
          }]
        }]
      }
    };
  }
}
</script>